# ------------------------------------------------------------------------------
# Camera Test Detector
# ------------------------------------------------------------------------------
# 基础摄像头测试，显示原始视频流
# ------------------------------------------------------------------------------

from .base_detector import BaseDetector


class CameraTestDetector(BaseDetector):
    """相机测试检测器"""
    
    def __init__(self):
        super().__init__()
        
    def process_frame(self, frame):
        """
        处理帧 - 只添加 FPS 显示
        
        Args:
            frame: 输入图像帧
            
        Returns:
            frame: 添加了 FPS 的图像帧
        """
        self.update_fps()
        frame = self.visualize_fps(frame)
        return frame

